Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contextual tokenizer #1415

Open
wants to merge 20 commits into
base: dev
Choose a base branch
from
Open

Contextual tokenizer #1415

wants to merge 20 commits into from

Conversation

Jemoka
Copy link
Member

@Jemoka Jemoka commented Sep 2, 2024

create a second tokenization stage which uses contextual word embeddings as well token embeddings to be more accurate. Doesn't seem to help for languages with clearly delinated orthographies but in Thai it helps a lot on dev and a smidge on test.

On UD_Thai-TUD:

New, test:

 Tokens Sentences     Words
    90.02     15.02     90.02

Old, test:

   Tokens Sentences     Words
    90.22     14.59     90.22

New, dev:

   Tokens Sentences     Words
    90.57     19.14     90.57

Old, test:

   Tokens Sentences     Words
    90.08     15.67     90.08

@Jemoka Jemoka changed the title [wip] Contextual tokenizer Contextual tokenizer Sep 12, 2024
@Jemoka Jemoka marked this pull request as ready for review September 12, 2024 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant